package com.remoting.core.exception;

import com.remoting.core.support.HttpCode;

/**
 * 远程接口调用异常
 * <p>说明:</p>
 * <li></li>
 * @author DuanYong
 * @since 2017年2月8日下午4:33:57
 */
@SuppressWarnings("serial")
public class RemoteException extends BaseException {
	public RemoteException() {
	}

	public RemoteException(Throwable ex) {
		super(ex);
	}

	public RemoteException(String message) {
		super(message);
	}

	public RemoteException(String message, Throwable ex) {
		super(message, ex);
	}
	@Override
	protected HttpCode getHttpCode() {
		return HttpCode.REQUEST_TIMEOUT;
	}
}